﻿using _2112A_2_MES._chubowen;
using _2112A_2_MES._wangweihao;
using _2112A_2_MES._XiangHe;
using _2112A_2_MES.ChuBoWens;
using _2112A_2_MES.SuJiaHaos;
using _2112A_2_MES.SuJiaHaos.ProductionPiickings;
using _2112A_2_MES.SuJiaHaos.Sasles;
using _2112A_2_MES.SuJiaHaos.StockTakings;
using _2112A_2_MES.SuJiaHaos.ToolTypes;
using _2112A_2_MES.SuJiaHaos.WareHouse;
using _2112A_2_MES.XiangHes.WorkStations;
using AutoMapper;

namespace _2112A_2_MES;

public class _2112A_2_MESApplicationAutoMapperProfile : Profile
{
    public _2112A_2_MESApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<Client, CustomerManagementDTO>();
        CreateMap<Client, CreateCustomerDTO>();
        CreateMap<CreateCustomerDTO,Client>();
        CreateMap<CreateWareHuoseDTO, WmWarehouse>();
        CreateMap<MdVendorDTO, MdVendor>();
        CreateMap<MditemDTO, MdItem>();
        CreateMap<CreateProductionPiickingDTO, ProductionPiicking>();
        CreateMap<CreateSasleDTO, Sasle>();
        CreateMap<CreateStockTakingDTO,StockTaking>();
        CreateMap<CreateToolTypeDTO, ToolType>();
    }
}
